package com.example.zerox.service.impl;

import com.example.zerox.mapper.FruitMapper;
import com.example.zerox.pojo.Fruit;
import com.example.zerox.service.SysFruitService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class SysFruitServiceImpl implements SysFruitService {
    @Autowired
    private FruitMapper fruitMapper;

    @Override
    public List<Fruit> list() {
        return fruitMapper.list();
    }
}
